package sh.grapendaal.tsuushin.module.uno.engine.domain.achievement.impl;

import sh.grapendaal.tsuushin.module.uno.engine.domain.achievement.Achievement;
import sh.grapendaal.tsuushin.module.uno.engine.dto.GameState;

public class BabysFirstStepAchievement extends Achievement {

	@Override
	public String getName() {
		return "Baby's First Step";
	}
	
	@Override
	public String getDescription() {
		return "Play a card.";
	}

	@Override
	public boolean isEarned(GameState gameState) {
		return gameState.getCurrentPlayer().getStatistics().getNumCardsPlayed() >= 1;
	}

}
